package com.ekingwin.www.esb.SAP_PR_PP_0_PostingProOrderService;

public class SAPPR_PP_0_PostingProOrderService_pttProxy implements com.ekingwin.www.esb.SAP_PR_PP_0_PostingProOrderService.SAPPR_PP_0_PostingProOrderService_ptt {
  private String _endpoint = null;
  private com.ekingwin.www.esb.SAP_PR_PP_0_PostingProOrderService.SAPPR_PP_0_PostingProOrderService_ptt sAPPR_PP_0_PostingProOrderService_ptt = null;
  
  public SAPPR_PP_0_PostingProOrderService_pttProxy() {
    _initSAPPR_PP_0_PostingProOrderService_pttProxy();
  }
  
  public SAPPR_PP_0_PostingProOrderService_pttProxy(String endpoint) {
    _endpoint = endpoint;
    _initSAPPR_PP_0_PostingProOrderService_pttProxy();
  }
  
  private void _initSAPPR_PP_0_PostingProOrderService_pttProxy() {
    try {
      sAPPR_PP_0_PostingProOrderService_ptt = (new com.ekingwin.www.esb.SAP_PR_PP_0_PostingProOrderService.SAPPR_PP_0_PostingProOrderService_pttBindingQSServiceLocator()).getSAPPR_PP_0_PostingProOrderService_pttBindingQSPort();
      if (sAPPR_PP_0_PostingProOrderService_ptt != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)sAPPR_PP_0_PostingProOrderService_ptt)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)sAPPR_PP_0_PostingProOrderService_ptt)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (sAPPR_PP_0_PostingProOrderService_ptt != null)
      ((javax.xml.rpc.Stub)sAPPR_PP_0_PostingProOrderService_ptt)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public com.ekingwin.www.esb.SAP_PR_PP_0_PostingProOrderService.SAPPR_PP_0_PostingProOrderService_ptt getSAPPR_PP_0_PostingProOrderService_ptt() {
    if (sAPPR_PP_0_PostingProOrderService_ptt == null)
      _initSAPPR_PP_0_PostingProOrderService_pttProxy();
    return sAPPR_PP_0_PostingProOrderService_ptt;
  }
  
  public void SAPPR_PP_0_PostingProOrderService(java.lang.String data, javax.xml.rpc.holders.StringHolder SIGN, javax.xml.rpc.holders.StringHolder message) throws java.rmi.RemoteException, com.ekingwin.www.esb.SAP_PR_PP_0_PostingProOrderService.QueryFault{
    if (sAPPR_PP_0_PostingProOrderService_ptt == null)
      _initSAPPR_PP_0_PostingProOrderService_pttProxy();
    sAPPR_PP_0_PostingProOrderService_ptt.SAPPR_PP_0_PostingProOrderService(data, SIGN, message);
  }
  
  
}